﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Leave.Dto
{
    /// <summary>
    /// 请休假实体
    /// </summary>
    public class GetLeaveResultInput : PagedAndSortedRequestDto
    {
        /// <summary>
        /// 工号
        /// </summary>
        public string WorkNumber { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 入职日期开始
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 入职日期结束
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public string Department { get; set; }

        /// <summary>
        /// 是否只看自己的
        /// </summary>
        public bool? UseAdmin { get; set; }

        /// <summary>
        /// 流程类型： Leave / CancelLeave
        /// </summary>
        public string ProcessType { get; set; }

        /// <summary>
        /// 推送状态
        /// </summary>
        public string PushStatus { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 休假日期开始
        /// </summary>
        public DateTime? LeaveStartDate { get; set; }

        /// <summary>
        /// 休假日期结束
        /// </summary>
        public DateTime? LeaveEndDate { get; set; }

        public string LeaveType { get; set; }

        public string InstanceNumber { get; set; }
    }

    /// <summary>
    /// 特殊审批配置实体
    /// </summary>
    public class GetSpecialLeaveResultInput : PagedAndSortedRequestDto
    {
        /// <summary>
        /// 工号/姓名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 审批人信息
        /// </summary>
        public string ApproverName { get; set; }
    }
}
